package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient("gulimall-order")
public interface OrderFeign {
    @RequestMapping("/order/order/getOrderAndOrderItemList")
    public R getOrderAndOrderItemList(@RequestBody Map<String, Object> params);
}
